import {nodeOpts} from "./nodeOpts.js";
import {patchProps} from "./props.js";
import {createRender} from "../runtime-core/index.js";

export const renderOptions = {...nodeOpts, patchProps}

// 默认的渲染属性，可以构建渲染器，也可以让用户提供渲染属性来渲染


export function render(vdom, container) {
    const {render} = createRender(renderOptions)
    render(vdom, container)
}

export * from "../runtime-core/index.js"
